package com.qiang.test;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class Demo01 {

    //公共无参无返回非静态

    @Test
    public  void Method01(){
        System.out.println("吃饭");
    }

    @Before
    public  void Method02(){
        System.out.println("喝水");
    }

    @After
    public  void Method03(){
        System.out.println("睡觉");
    }
}
